package com.yanggu.payment.entity.weixinpay.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WeiXinPayApplyRefundResp {

    @JsonProperty("refund_id")
    private String refundId;

    @JsonProperty("out_refund_no")
    private String outRefundNo;

    @JsonProperty("transaction_id")
    private String transactionId;

    @JsonProperty("out_trade_no")
    private String outTradeNo;

    private String channel;

    @JsonProperty("user_received_account")
    private String userReceivedAccount;

    @JsonFormat(timezone="GMT+8", pattern="yyyy-MM-dd'T'HH:mm:ss")
    @JsonProperty("success_time")
    private Date successTime;

    @JsonFormat(timezone="GMT+8", pattern="yyyy-MM-dd'T'HH:mm:ss")
    @JsonProperty("create_time")
    private Date createTime;

    private String status;

    @JsonProperty("funds_account")
    private String fundsAccount;

    private RefundAmount amount;

}